/**
 * Copyright 2015 Software innovation and R & D center. All rights reserved.
 * File Name: SysLog.java
 * Encoding UTF-8
 * Version: 0.0.1
 * History:	2015年2月9日
 */
package net.huashitong.netdata.entity;

import com.sirdc.modules.core.entity.StringEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
 * @version Revision: 0.0.1
 */
@Entity
@Table(name = "t_net_data")
//@DynamicUpdate//动态更新
//@DynamicInsert//动态插入
public class NetData extends StringEntity {



	private String type;// 日志类型（1：网络日志；2：导入）
	
	private String indexName;// 操作用户的IP地址
	
	private String upDate;// 操作的URI
	
	private String source;// 操作的方式
	
	private String indexValue;// 操作提交的数据
	
	private String area;// 操作用户代理信息
	
	private String exception;// 异常信息


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getIndexName() {
		return indexName;
	}

	public void setIndexName(String indexName) {
		this.indexName = indexName;
	}


	public String getUpDate() {
		return upDate;
	}

	public void setUpDate(String upDate) {
		this.upDate = upDate;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getIndexValue() {
		return indexValue;
	}

	public void setIndexValue(String indexValue) {
		this.indexValue = indexValue;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}
}
